package Popup;

import Composite.*;
import Visitables.*;
import images.*;
import java.awt.event.*;
import principal.*;

class ControleurAjoutFlicker implements ActionListener {

    private TabsDeDroite lesTabs;
    private Element el;

    public ControleurAjoutFlicker(TabsDeDroite lesTabs, Element el) {

        this.lesTabs = lesTabs;
        this.el = el;
    }

    public void actionPerformed(ActionEvent e) {

        VisiteurAjoutFlicker vis = new VisiteurAjoutFlicker(lesTabs);
        el.accept(vis);
    }
    
}